// @ts-ignore
/* eslint-disable */
import request from '@/utils/request';

/** 批发退库 POST /fds/wholesale/addReturnsWholesale */
export async function addReturnsWholesaleUsingPOST(
  // 叠加生成的Param类型 (非body参数swagger默认没有生成对象)
  params,
  body,
  options,
) {
  return request({
    url: '/fds/wholesale/addReturnsWholesale', 
    method: 'POST',
    headers: {
      'Content-Type': 'application/json',
    },
    params: {
      ...params,
    },
    data: body,
    ...(options || {}),
  });
}

/** 批发出库 POST /fds/wholesale/addWholesale */
export async function addWholesaleUsingPOST(
  // 叠加生成的Param类型 (非body参数swagger默认没有生成对象)
  params,
  body,
  options,
) {
  return request({
    url: '/fds/wholesale/addWholesale', 
    method: 'POST',
    headers: {
      'Content-Type': 'application/json',
    },
    params: {
      ...params,
    },
    data: body,
    ...(options || {}),
  });
}

/** 大批量批发出库 POST /fds/wholesale/addWholesaleAbundance */
export async function addWholesaleAbundanceUsingPOST(
  // 叠加生成的Param类型 (非body参数swagger默认没有生成对象)
  params,
  body,
  options,
) {
  return request({
    url: '/fds/wholesale/addWholesaleAbundance', 
    method: 'POST',
    headers: {
      'Content-Type': 'application/json',
    },
    params: {
      ...params,
    },
    data: body,
    ...(options || {}),
  });
}
/** 追加批发退库记录 POST /fds/wholesale/appendReturnsWholesale */
export async function appendReturnsWholesaleUsingPOST(
  // 叠加生成的Param类型 (非body参数swagger默认没有生成对象)
  params,
  body,
  options,
) {
  return request('/fds/wholesale/appendReturnsWholesale', {
    method: 'POST',
    headers: {
      'Content-Type': 'application/json',
    },
    params: {
      ...params,
    },
    data: body,
    ...(options || {}),
  });
}
/** 追加批发记录 POST /fds/wholesale/appendWholesale */
export async function appendWholesaleUsingPOST(
  // 叠加生成的Param类型 (非body参数swagger默认没有生成对象)
  params,
  body,
  options,
) {
  return request('/fds/wholesale/appendWholesale', {
    method: 'POST',
    headers: {
      'Content-Type': 'application/json',
    },
    params: {
      ...params,
    },
    data: body,
    ...(options || {}),
  });
}

/** 审核批发 POST /fds/wholesale/checkWholesale */
export async function checkWholesaleUsingPOST(
  // 叠加生成的Param类型 (非body参数swagger默认没有生成对象)
  params,
  options,
) {
  return request({
    url: '/fds/wholesale/checkWholesale', 
    method: 'POST',
    params: {
      ...params,
    },
    ...(options || {}),
  });
}

/** 商品名统计 GET /fds/wholesale/getGoodsList */
export async function getGoodsListUsingGET1(
  // 叠加生成的Param类型 (非body参数swagger默认没有生成对象)
  params,
  options,
) {
  return request({
    url: '/fds/wholesale/getGoodsList', 
    method: 'GET',
    params: {
      ...params,
    },
    ...(options || {}),
  });
}

/** 通过串码1获取库存信息 GET /fds/wholesale/getInventoryList */
export async function getInventoryListUsingGET(
  // 叠加生成的Param类型 (非body参数swagger默认没有生成对象)
  params,
  options,
) {
  return request({
    url: '/fds/wholesale/getInventoryList', 
    method: 'GET',
    params: {
      ...params,
    },
    ...(options || {}),
  });
}

/** 通过串码1模糊查询库存信息 GET /fds/wholesale/getInventoryListByPhoneCde */
export async function getInventoryListByPhoneCdeUsingGET(
  // 叠加生成的Param类型 (非body参数swagger默认没有生成对象)
  params,
  options,
) {
  return request({
    url: '/fds/wholesale/getInventoryListByPhoneCde', 
    method: 'GET',
    params: {
      ...params,
    },
    ...(options || {}),
  });
}

/** 获取批发记录商品列表 POST /fds/wholesale/getWhDetailList */
export async function getWhDetailListUsingPOST(
  // 叠加生成的Param类型 (非body参数swagger默认没有生成对象)
  params,
  options,
) {
  return request({
    url: '/fds/wholesale/getWhDetailList', 
    method: 'POST',
    params: {
      ...params,
    },
    ...(options || {}),
  });
}

/** 获取批发记录信息 GET /fds/wholesale/getWholesale */
export async function getWholesaleUsingGET(
  // 叠加生成的Param类型 (非body参数swagger默认没有生成对象)
  params,
  options,
) {
  return request({
    url: '/fds/wholesale/getWholesale', 
    method: 'GET',
    params: {
      ...params,
    },
    ...(options || {}),
  });
}

/** 获取批发记录列表 POST /fds/wholesale/getWholesaleList */
export async function getWholesaleListUsingPOST(
  // 叠加生成的Param类型 (非body参数swagger默认没有生成对象)
  params,
  options,
) {
  return request({
    url: '/fds/wholesale/getWholesaleList', 
    method: 'POST',
    params: {
      ...params,
    },
    ...(options || {}),
  });
}

/** 撤销退库批发记录信息 POST /fds/wholesale/revokeReturnsWholesale */
export async function revokeReturnsWholesaleUsingPOST(
  // 叠加生成的Param类型 (非body参数swagger默认没有生成对象)
  params,
  options,
) {
  return request({
    url: '/fds/wholesale/revokeReturnsWholesale', 
    method: 'POST',
    params: {
      ...params,
    },
    ...(options || {}),
  });
}

/** 撤销入库批发记录信息 POST /fds/wholesale/revokeWholesale */
export async function revokeWholesaleUsingPOST(
  // 叠加生成的Param类型 (非body参数swagger默认没有生成对象)
  params,
  options,
) {
  return request({
    url: '/fds/wholesale/revokeWholesale', 
    method: 'POST',
    params: {
      ...params,
    },
    ...(options || {}),
  });
}

/** 反审核批发 POST /fds/wholesale/unCheckWholesale */
export async function unCheckWholesaleUsingPOST(
  // 叠加生成的Param类型 (非body参数swagger默认没有生成对象)
  params,
  options,
) {
  return request({
    url: '/fds/wholesale/unCheckWholesale', 
    method: 'POST',
    params: {
      ...params,
    },
    ...(options || {}),
  });
}

/** 修改批发记录信息 POST /fds/wholesale/updateWholesale */
export async function updateWholesaleUsingPOST(
  // 叠加生成的Param类型 (非body参数swagger默认没有生成对象)
  params,
  options,
) {
  return request({
    url: '/fds/wholesale/updateWholesale', 
    method: 'POST',
    params: {
      ...params,
    },
    ...(options || {}),
  });
}
/** 导出批发记录详情列表 POST /fds/wholesale/exportWhDetail */
export async function exportWhDetailUsingPOST(
  // 叠加生成的Param类型 (非body参数swagger默认没有生成对象)
  params,
  options,
) {
  return request('/fds/wholesale/exportWhDetail', {
    method: 'POST',
    responseType: 'blob',
    params: {
      ...params,
    },
    ...(options || {}),
  });
}

/** 导出批发记录列表 POST /fds/wholesale/exportWholesale */
export async function exportLosDetailUsingPOST5(
  // 叠加生成的Param类型 (非body参数swagger默认没有生成对象)
  params,
  options,
) {
  return request('/fds/wholesale/exportWholesale', {
    method: 'POST',
    responseType: 'blob',
    params: {
      ...params,
    },
    ...(options || {}),
  });
}
/** 批发记录详情汇总 POST /fds/wholesale/whDetailSummary */
export async function whDetailSummaryUsingPOST(
  // 叠加生成的Param类型 (非body参数swagger默认没有生成对象)
  params,
  options,
) {
  return request('/fds/wholesale/whDetailSummary', {
    method: 'POST',
    params: {
      ...params,
    },
    ...(options || {}),
  });
}
